= simple_form_for(@base_department, remote: true) do |f|
  = f.error_notification
  = f.input :name
  = f.input :parent_id, collection: ::Base::Department.roots.pluck(:name,:id)
  .row
    .col-xs-12
      .pull-right
        = f.button :submit, class: 'btn btn-primary push-10-r'
        = link_to '关闭', 'javascript:void(0)', class: 'btn btn-default', data: {dismiss: 'modal'}
